{

    const _constructor = function () {
        return {
            data: {
                type: '0',
            }
        }
    }

    const line = {  
        elementTemplate : `
                    <div :class="{'dividing-line-dashed' : type == 0, 'dividing-line-solid' : type == 1 }"></div>
        `,
        prototypeTemplate : `
                    <div class="form-group">
                        <label >线类型:</label> 
                    </div>
                    <select class="form-control" v-model="type">
                         <option value="0">虚线</option> 
                         <option value="1">实线</option> 
                    </select>
        `,
        _constructor : _constructor 
    }


    if ( window.TEMPLATE && !window.TEMPLATE.line ) {
        window.TEMPLATE.line = line
    }
}